"""OpenGaussAutoReport URL Configuration

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/3.2/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.urls import path

from ReportApp.views import get_info_data, \
    update_info, tier2, test, analyse, get_bug_data, get_images_data, \
    get_sum_data, tier3, reliability, steady, performance, perf_resource, \
    perf_get_data, lcov, issues, get_bugs_data, get_owner_data, \
    get_issues_detail_data, get_core_data, get_re_er_data, master, \
    get_sqlperf_data, get_sqlperf_data_yukon, get_tpch_data, \
    get_migrate_perf_data

urlpatterns = [
    # 主入口
    path('tier2_200/', tier2, name="tier2_200"),
    path('tier2_300/', tier3, name="tier2_300"),
    path('master/', master, name="master"),
    path('reliability/', reliability, name="reliability"),
    path('steady/', steady, name="steady"),
    path('performance/', performance, name="performance"),
    path('perf_get_data/', perf_get_data, name="perf_get_data"),
    path('perf_resource/', perf_resource, name="perf_resource"),
    path('get_sum_data/', get_sum_data, name="get_sum_data"),
    path('get_bug_data/', get_bug_data, name="get_bug_data"),
    path('get_info_data/', get_info_data, name="get_info_data"),
    path('get_sqlperf_data/', get_sqlperf_data, name="get_sqlperf_data"),
    path('get_sqlperf_data_yukon/', get_sqlperf_data_yukon,
         name="get_sqlperf_data_yukon"),
    path('get_tpch_data/', get_tpch_data, name="get_tpch_data"),
    path('get_migrate_perf_data/', get_migrate_perf_data,
         name="get_migrate_perf_data"),
    path('update_info/', update_info, name="update_info"),
    path('test/', test, name="test"),
    path('analyse/', analyse, name="analyse"),
    path('get_images_data/', get_images_data, name="get_images_data"),
    path('lcov/', lcov, name="lcov"),
    path('issues/', issues, name="issues"),
    path('get_bugs_data/', get_bugs_data, name="get_bugs_data"),
    path('get_owner_data/', get_owner_data, name="get_owner_data"),
    path('get_issues_detail_data/', get_issues_detail_data,
         name="get_issues_detail_data"),
    path('get_core_data/', get_core_data, name="get_core_data"),
    path('get_re_er_data/', get_re_er_data, name="get_re_er_data"),
]
